import http from './http.js'


const api = {
	getBaseList () {
		return http('post', '/api/baseList')
	},
	getSubjectList(data) {
		return http('post', '/api/foreEnd/subjectList', data)
	},
	logonIn (param) {
		return http('post', '/api/logonIn', param)
	},
	userLogin(param){
		return http('post', '/api/userLogin', param)
	},
	userRecord(param){
		return http('post', '/api/userRecord', param)
	},
	createIntegral(param){
		return http('post', '/api/createIntegral', param)
	},
	addIntegral(param){
		return http('post', '/api/addIntegral', param)
	},
	getTypeList(param) {
		return http('post', '/api/foreEnd/typeList', param)
	}
}

export default api